<template>
    <div>页面正在刷新,请稍候....</div>
</template>
<script lang="ts" setup>
import {useRoute,useRouter} from 'vue-router'
const route = useRoute()
const router = useRouter()
const { params:{ backpath }} = route //获取查询参数信息

setTimeout(()=>{
    router.replace(backpath as string)  //重新跳转到原来的路由
},300)

</script>